// cmq project main.go
package main

import (
	"fmt"
)

func main() {
	end := make(chan (bool))
	s := Server{
		queue:  NewQueue(),
		broker: NewBroker(),
	}
	err := s.Start("localhost:8082")
	if err != nil {
		fmt.Println(err)
		return
	}
	<-end
}
